﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Infrastructure;
using WsdShop.Model;
using WsdShop.Model.SearchModels;
using WsdShop.Model.ViewModels;

namespace WsdShop.IService
{
    public interface ISpecialTopicService
    {
        List<SpecialTopicResponse> SpecialTopicManage(SpecialTopicSearchModel search, out int total);

        SpecialTopicResponse SpecialTopicEdit(int Id);

        Result SpecialTopicEditSubmit(SpecialTopicResponse submitData, int currentUserId);

        Result DelTopic(int Id, int currentUserId);

        List<Product> SpecialTopicProduct(int Skip, int Take, int topicId, out int total);

    }
}
